package cn.honqun.tinycms.domain.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

@Getter
@Setter
@TableName("t_file_object")
@Schema(name = "FileObject", description = "上传文件对象")
public class FileObject implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId
    private Long id;
    private String url;
    private String uri;
    private String originalName;
    private Long targetId;
    private String targetField;
    private Integer orders;
    private Long size;
    private String sizeText;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private Long operator;
}
